<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>removeItem and setAttribute test</title>
        <link rel="icon" type="image/png" href="../editor/images/logo.png"/>
    </head>
    <body>
        <script>
            var elem = document.createElementNS('http://www.w3.org/2000/svg', 'rect');
            elem.setAttribute('transform', 'matrix(1,0,0,1,0,0)');
            elem.transform.baseVal.removeItem(0);
            elem.removeAttribute('transform');
            console.log(elem.hasAttribute('transform'));
        </script>
        Issue:
            <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=843901">
                Chromium 843901
            </a>
    </body>
</html>
